package com.example.strategy;

/**
 * Created by Risky57 on 2017/4/28.
 */

public class RubberDuck extends Duck {
    public RubberDuck () {
        super("橡皮鸭");
        mFlyBehavior = new CantFly();
    }

    @Override
    public void display () {
        System.out.println("这是一只橡皮鸭");
    }

}
